<?php

/************************************

EasyCB, Community Forum Software
Copyright (C) 2007, 2008  Jonathon D. Keogh <jonathon.keogh@gmail.com>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

$Id: page.member-list.php 171 2008-01-08 20:43:42Z jonathon.keogh $

************************************/

require "inc.func.php";

page_header("Members of " . htmlentities(config_get("BoardName")));

page_section("Members of " . htmlentities(config_get("BoardName")));
?>

<table width="100%">
	<tr>
		<td><b>User name</b></td>
		<td width="100"><b>Post count</b></td>
		<td width="200"><b>Member since</b></td>
	</tr>
<?php

$users = db_query("SELECT * FROM `" . config_get("db_prefix") . "users` ORDER BY `RegisterTime` ASC;");
while($user = db_fetch_assoc($users))
{
	print "<tr><td>" . htmlentities($user['Username']) . "</td><td>{$user['PostCount']}</td><td>" . date(config_get("DateString"), $user['RegisterTime']) . "</td></tr>\n";
}

?>
</table>

<?php
page_section();

page_footer('$Id: page.member-list.php 171 2008-01-08 20:43:42Z jonathon.keogh $');

?>